<!--
 * @Author: szx
 * @Date: 2022-05-26 16:24:02
 * @LastEditTime: 2022-05-26 16:26:48
 * @Description: 
 * @FilePath: \learn\HTML\图片\响应式卡片悬停\index.html
-->
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>响应式卡片悬停</title>
    <link rel="stylesheet" href="index.css">
</head>

<body>
    <div class="container">
        <div class="card">
            <div class="img-box">
                <img src="../../images/op/1.jpg" alt="">
            </div>
            <div class="text-box">
                <h2>卡片一</h2>
                <p>
                    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Et atque voluptate quisquam, reiciendis
                    animi architecto eveniet?
                </p>
            </div>
        </div>
        <div class="card">
            <div class="img-box">
                <img src="../../images/op/2.jpg" alt="">
            </div>
            <div class="text-box">
                <h2>卡片二</h2>
                <p>
                    卡片二Lorem ipsum dolor sit amet, consectetur adipisicing elit. Et atque voluptate quisquam, reiciendis
                    animi architecto eveniet?
                </p>
            </div>
        </div>
        <div class="card">
            <div class="img-box">
                <img src="../../images/op/3.jpg" alt="">
            </div>
            <div class="text-box">
                <h2>卡片三</h2>
                <p>
                    卡片三Lorem ipsum dolor sit amet, consectetur adipisicing elit. Et atque voluptate quisquam, reiciendis
                    animi architecto eveniet?
                </p>
            </div>
        </div>
    </div>
</body>

</html>